package com.nebula.pojo;

import java.util.Date;

public class UrlShare {
    private Integer id;

    private String fileIdGroup;

    private String title;

    private String link;

    private String shortUrl;

    private String fileKey;

    private Integer viewed;

    private Integer saveTimes;

    private Integer downloads;

    private Date sharingTime;

    private String failureTime;

    private String type;

    private String username;

    public UrlShare(Integer id, String fileIdGroup, String title, String link, String shortUrl, String fileKey, Integer viewed, Integer saveTimes, Integer downloads, Date sharingTime, String failureTime, String type, String username) {
        this.id = id;
        this.fileIdGroup = fileIdGroup;
        this.title = title;
        this.link = link;
        this.shortUrl = shortUrl;
        this.fileKey = fileKey;
        this.viewed = viewed;
        this.saveTimes = saveTimes;
        this.downloads = downloads;
        this.sharingTime = sharingTime;
        this.failureTime = failureTime;
        this.type = type;
        this.username = username;
    }

    public UrlShare() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFileIdGroup() {
        return fileIdGroup;
    }

    public void setFileIdGroup(String fileIdGroup) {
        this.fileIdGroup = fileIdGroup == null ? null : fileIdGroup.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link == null ? null : link.trim();
    }

    public String getShortUrl() {
        return shortUrl;
    }

    public void setShortUrl(String shortUrl) {
        this.shortUrl = shortUrl == null ? null : shortUrl.trim();
    }

    public String getFileKey() {
        return fileKey;
    }

    public void setFileKey(String fileKey) {
        this.fileKey = fileKey == null ? null : fileKey.trim();
    }

    public Integer getViewed() {
        return viewed;
    }

    public void setViewed(Integer viewed) {
        this.viewed = viewed;
    }

    public Integer getSaveTimes() {
        return saveTimes;
    }

    public void setSaveTimes(Integer saveTimes) {
        this.saveTimes = saveTimes;
    }

    public Integer getDownloads() {
        return downloads;
    }

    public void setDownloads(Integer downloads) {
        this.downloads = downloads;
    }

    public Date getSharingTime() {
        return sharingTime;
    }

    public void setSharingTime(Date sharingTime) {
        this.sharingTime = sharingTime;
    }

    public String getFailureTime() {
        return failureTime;
    }

    public void setFailureTime(String failureTime) {
        this.failureTime = failureTime == null ? null : failureTime.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }
}